
#ifndef CUSTOM_HANDLE_H
#define CUSTOM_HANDLE_H
#include <stdbool.h>
typedef int BOOL;
static struct shm_param para;

struct stm32_data //共享内存
{
	unsigned int led;
    unsigned int Light;
    float bat;
};

void GetProcess_modbus(char *msg);
void GetProcess_stm32(char *msg);
void InsertProcess(char *input);
int parse_and_process(char *input);
int report_json(const char *msg);

#endif  // REQ_HANDLE_H
